from django.urls import path, include
from rest_framework.routers import DefaultRouter

from tms_manage import views

router = DefaultRouter()

urlpatterns = [
    # 以下是tms系统数据接口
    # gppd前缀——代表该接口支持增删改查
    path("gppd_tms_inventory/", views.TmsInventoryView.as_view(), name="重庆-刀具库存数据信息-增删改查"),
    path("gppd_tms_material_info/", views.TmsMaterialInfoView.as_view(), name="重庆-刀具物料信息-增删改查"),
    path("gppd_tms_add_inventory_log/", views.TmsAddInventoryLogView.as_view(), name="重庆-刀具入库日志-增删改查"),
    path("gppd_tms_out_inventory_log/", views.TmsOutInventoryLogView.as_view(), name="重庆-刀具出库日志-增删改查"),
    path("gppd_tms_purchase_list/", views.TmsPurchaseListView.as_view(), name="重庆-刀具采购清单-增删改查"),

    # 青岛
    path("gppd_tms_inventory_qd/", views.TmsInventoryQdView.as_view(), name="青岛-刀具库存数据信息-增删改查"),
    path("gppd_tms_material_info_qd/", views.TmsMaterialInfoQdView.as_view(), name="青岛-刀具物料信息-增删改查"),
    path("gppd_tms_add_inventory_log_qd/", views.TmsAddInventoryLogQdView.as_view(), name="青岛-刀具入库日志-增删改查"),
    path("gppd_tms_out_inventory_log_qd/", views.TmsOutInventoryLogQdView.as_view(), name="青岛-刀具出库日志-增删改查"),
    path("gppd_tms_purchase_list_qd/", views.TmsPurchaseListQdView.as_view(), name="青岛-刀具采购清单-增删改查"),
    # 宝骏
    path("gppd_tms_inventory_bj/", views.TmsInventoryBjView.as_view(), name="宝骏-刀具库存数据信息-增删改查"),
    path("gppd_tms_material_info_bj/", views.TmsMaterialInfoBjView.as_view(), name="宝骏-刀具物料信息-增删改查"),
    path("gppd_tms_add_inventory_log_bj/", views.TmsAddInventoryLogBjView.as_view(), name="宝骏-刀具入库日志-增删改查"),
    path("gppd_tms_out_inventory_log_bj/", views.TmsOutInventoryLogBjView.as_view(), name="宝骏-刀具出库日志-增删改查"),
    path("gppd_tms_purchase_list_bj/", views.TmsPurchaseListBjView.as_view(), name="宝骏-刀具采购清单-增删改查"),

]
